function setinput(inputid) 
{
   window.opener.location.href = "setinput.php?cn_input=" + inputid;
   alert('Your HTK Chinese input setting has been changed.');
   window.location.href=window.location.href;
   return false;
}